﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Project.Engine.Control;
using Project.Module.Model.CMS;
using Project.Module.DAO.CMSBL;

namespace Project.Module.View.CMS
{
    public class CMSQuanLyTaiKhoan : BasePageRazor
    {
        public string displayAdmin = string.Empty;
        public List<EmployeeModel> listEmployee = null;
        private UserBL userBl = new UserBL();

        protected override void InitializePage()
        {
            base.InitializePage();
            if (Session["username_ad"] != null && ((string)(Session["username_ad"])).Length > 0)
            {
                displayAdmin = (string)(Session["username_ad"]);
                listEmployee = userBl.GetAllUser();
            }
        }
    }
}
